//
//  rememberAppDelegate.m
//  Created by sunjae lee on 09. 11. 28..

#import "ApplicationDelegate.h"
#import "RootViewController.h"

@implementation AppDelegate

@synthesize navigationController;

- (void)applicationDidFinishLaunching:(UIApplication *)application 
{    
    // Override point for customization after application launch
	
	rootViewcontroller = [[RootViewController alloc] init];
	
	UIWindow *window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];	
	navigationController = [[UINavigationController alloc] initWithRootViewController:rootViewcontroller];
	
	[window addSubview: navigationController.view];
    [window makeKeyAndVisible];
	
	NSLog(@"applicationDidFinishLaunching is done");
}

-(void) applicationWillTerminate:(UIApplication *)application
{
	
}

- (void)dealloc 
{
	[rootViewcontroller release];
	[navigationController release];
    [super dealloc];
}

@end
